home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windows 6-Pak - Disc 5
/
Windows 6-Pak (InfoMagic) (Disc 5) (1999).ISO
/
Access-Control
/
HD95PROT.ZIP
/
WINATTR.BAT
< prev
Wrap
DOS Batch File
|
1997-11-15
|
657b
|
26 lines
@echo off
rem Mit dieser Batch-Datei können Sie die Dateiattribute für die Dateien im
rem Windows-Verzeichnis setzen, wenn Sie die Standardinstallation von
rem HD95Protect verwenden.
rem Passen Sie ggf. das Verzeichnis C:\WINDOWS an.
rem Bei Bedarf können Sie natürlich weitere Dateien und/oder Verzeichnisse
rem hinzufügen.
if (%1)==() goto FEHLER
if (%1)==(+) goto PLUS
if (%1)==(-) goto MINUS
:PLUS
attrib +r c:\windows\*.* /S
attrib -r c:\*.swp /S
attrib -r c:\windows\*.pwl
attrib -r c:\windows\profiles\*.* /S
goto ENDE
:MINUS
attrib -r c:\windows\*.* /S
goto ENDE
:FEHLER
echo Aufruf: winattr - oder winattr +
:ENDE